package cn.szabadsag.hrm.mapper;

import cn.szabadsag.hrm.domain.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangcong
 * @since 2022-04-05
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    //  根据用户id查询对应的权限
    List<Permission> selectByUserId(Long userId);
}
